-- GENERATED SPELL FOR [Gish the Unmoving] --


function spell0_10825(pUnit, Event) --@Gargoyle Strike,n/a--
pUnit:FullCastSpellOnTarget(16564,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_10825', 1500, 1)
end

function spell1_10825(pUnit, Event) --@Rend,n/a--
pUnit:FullCastSpellOnTarget(13445,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_10825', 15000, 1)
end

function Sorts_10825(pUnit, Event)
local choix_sorts_10825 = math.random(0, 1)
if choix_sorts_10825 == 0 then
pUnit:RegisterEvent('spell0_10825', 1, 1)
end
if choix_sorts_10825 == 1 then
pUnit:RegisterEvent('spell1_10825', 1, 1)
end
end

function mob10825_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_10825', math.random(1500, 3000), 1)
end

function mob10825_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob10825_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob10825_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(10825, 1, 'mob10825_Action')
RegisterUnitEvent(10825, 2, 'mob10825_Leave')
RegisterUnitEvent(10825, 3, 'mob10825_Kill')
RegisterUnitEvent(10825, 4, 'mob10825_Die')
